home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'An impression of concentric rings achieved with a repeating gradient',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Darkness': 0,
- 'Defocus': 0,
- 'Frame': {
- 'FrameColor': (255,255,255),
- 'Material': App.Constants.LensFrameMaterial.Gold,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 4
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (123,133,132),
- 'LightDirection': (-0.2913,0.2691,-0.8325),
- 'HighlightSize': 48
- },{
- 'LightColor': (128,128,128),
- 'LightDirection': (0.478077,0.603516,0.638131),
- 'HighlightSize': 20
- },{
- 'LightColor': (53,41,53),
- 'LightDirection': (0.652556,-0.75774,0),
- 'HighlightSize': 40
- }],
- 'MaxAmbience': 80,
- 'MinAmbience': 39
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 0,
- 'Magnification': 0,
- 'LensMaterial': {
- 'Color': None,
- 'Pattern': None,
- 'Gradient': {
- 'Name': 'Black-white',
- 'GradientType': App.Constants.GradientType.Radial,
- 'Angle': 0,
- 'RepeatCount': 50,
- 'RepeatType': App.Constants.RepeatType.Pad,
- 'ColorStops': None,
- 'TransparencyStops': [],
- 'CenterPoint': (0.5,0.5),
- 'FocalPoint': (0.5,0.5),
- 'Invert': App.Constants.Boolean.false
- },
- 'Texture': None
- },
- 'LensOpacity': 100,
- 'Refraction': 0,
- 'ShapeType': App.Constants.LensShape.Spherical,
- 'Shininess': 85
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-